package Class.Advance.ComprehensiveTest.Sporter1;

public class PingPongCoach extends Member implements PingPong, Coach{
    public PingPongCoach() {
    }

    public PingPongCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("教授" + sportType);
    }

    @Override
    public void speak() {
        System.out.println("说" + language);
    }
}
